package com.wn.ziroombackend.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangzhijia
 * @since 2023-02-27 10:56:29
 */
@Getter
@Setter
@TableName("t_order_room")
public class OrderRoom {

    /**
     * id
     */
    @TableId("id")
    private Integer id;

    /**
     * 预约人
     */
    @TableField("user_id")
    private Integer userId;

    private User user;

    /**
     * 预约时间
     */
    @TableField("time")
    private Date time;

    /**
     * 预约房屋
     */
    @TableField("room_id")
    private Integer roomId;

    private Quarters quarters;


}
